package com.sc.nft.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import jdk.nashorn.internal.ir.annotations.Ignore;
import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class ServiceCenterAuditAddDTO {

    @ApiModelProperty(value = "唯一标识id,如果是新增则不传，如果是修改则传")
    private Long id;

    @ApiModelProperty(value = "用户id")
    @Ignore
    private Long userId;

    @ApiModelProperty(value = "用户电话")
    @NotBlank(message = "用户电话不能为空")
    private String userTel;

    @ApiModelProperty(value = "邮箱")
    @NotBlank(message = "邮箱不能为空")
    @Email(message = "邮箱格式不正确")
    private String email;

    @ApiModelProperty(value = "用户姓名")
    @NotBlank(message = "用户姓名不能为空")
    private String userName;

    @ApiModelProperty(value = "用户状态")
    @Ignore
    private String userStatus;

    @ApiModelProperty(value = "工作室名称")
    private String workName;


    @ApiModelProperty(value = "申请类型  1.社区工作室 2.城市服务中心")
    @NotNull(message = "申请类型不能为空")
    private Integer type;

    @ApiModelProperty(value = "状态 0:待审核 1:审核通过 2:审核不通过")
    @Ignore
    private Integer status;

    @ApiModelProperty(value = "身份证")
    @NotBlank(message = "身份证不能为空")
    private String identityCard;

    @ApiModelProperty(value = "身份证正面")
    @NotBlank(message = "身份证正面不能为空")
    private String identityCardFront;

    @ApiModelProperty(value = "身份证背面")
    @NotBlank(message = "身份证背面不能为空")
    private String identityCardBack;

    @ApiModelProperty(value = "公司及企业名称")
    private String companyAndBusinessName;

    @ApiModelProperty(value = "统一社会信用代码")
    private String unifiedSocialCreditIdentifier;

    @ApiModelProperty(value = "企业营业执照")
    private String businessLicenseForEnterprise;

    @ApiModelProperty(value = "企业地址")
    @NotBlank(message = "企业地址不能为空")
    private String businessAddress;

    @ApiModelProperty(value = "工作场所, 图片以JSON的数组的形式传递,多张格式为[images1,images2,images3],前端限制最多6张")
    @NotBlank(message = "工作场所不能为空")
    private String venueForWorking;

}
